package com.scpii.universal.pns.hibernate.entity;

import java.sql.Timestamp;

/**
 * UserActions entity. @author MyEclipse Persistence Tools
 */

public class UserActions implements java.io.Serializable {

	// Fields

	private static final long serialVersionUID = -2821194446230456755L;
	private Long id;
	private Timestamp createDt;
	private Long createBy;
	private Timestamp updateDt;
	private Long updateBy;
	private Long targetId;
	private Long userId;
	private Long objectId;
	private String actionType;
	public static final String COMMENTS_ADD = "COMMENTS_ADD";
	public static final String ACTIVITIES_JOIN = "ACTIVITIES_JOIN";
	public static final String ACTIVITIES_FAV = "ACTIVITIES_FAV";
	public static final String TARGET_VIEW = "TARGET_VIEW";

	// Constructors

	/** default constructor */
	public UserActions() {
	}

	/** minimal constructor */
	public UserActions(Long targetId) {
		this.targetId = targetId;
	}

	/** full constructor */
	public UserActions(Timestamp createDt, Long createBy, Timestamp updateDt,
			Long updateBy, Long targetId, Long userId, Long objectId,
			String actionType) {
		this.createDt = createDt;
		this.createBy = createBy;
		this.updateDt = updateDt;
		this.updateBy = updateBy;
		this.targetId = targetId;
		this.userId = userId;
		this.objectId = objectId;
		this.actionType = actionType;
	}

	// Property accessors

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateDt() {
		return this.createDt;
	}

	public void setCreateDt(Timestamp createDt) {
		this.createDt = createDt;
	}

	public Long getCreateBy() {
		return this.createBy;
	}

	public void setCreateBy(Long createBy) {
		this.createBy = createBy;
	}

	public Timestamp getUpdateDt() {
		return this.updateDt;
	}

	public void setUpdateDt(Timestamp updateDt) {
		this.updateDt = updateDt;
	}

	public Long getUpdateBy() {
		return this.updateBy;
	}

	public void setUpdateBy(Long updateBy) {
		this.updateBy = updateBy;
	}

	public Long getTargetId() {
		return this.targetId;
	}

	public void setTargetId(Long targetId) {
		this.targetId = targetId;
	}

	public Long getUserId() {
		return this.userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public Long getObjectId() {
		return this.objectId;
	}

	public void setObjectId(Long objectId) {
		this.objectId = objectId;
	}

	public String getActionType() {
		return this.actionType;
	}

	public void setActionType(String actionType) {
		this.actionType = actionType;
	}

}